Returns the last error number that occurred, or zero if no error.
Note this number does not get cleared unless you call the ClearError method.
Its not required that you clear it though since we automatically clear the internal error, while leaving this external error number for the Xojo developer to peek at.